/**
 * 结算与表报的ajax封装
 */
import request from "@/utils/request"
/**
 * 1、结账的接口
 */

export const addSalesTotal = (data) => { 
    return request({
         url: "/sales/addSales",
        method: "post",
        data,
    })
}

/**
 * 2、获取账单数据
 */

export const getSalesOrder = (params) => { 
    return request({
         url: "/sales/getSales",
        method: "get",
        params,
    })
}